Online Obstacle Avoidance In Dynamic Environments